package com.cos.shop.services;

import com.cos.shop.entity.Cart;
import com.cos.shop.entity.Type;

import java.util.List;

/**
 * @author: COS
 * @time: 2022/2/24 8:59
 * @description:
 */
public interface CartServices {

    boolean createCart(int uid, int pid);

    List<Cart> getCart(int uid);

    boolean clearCart(int pid, int uid);

    void updateCart(int uid, int pid, int num, double prices);
}
